
add_subdirectory(Exceptions)

set(utils_LIB_SRCS
ConfigurationFile.cpp 
Constantes.h
EventHandler.h
Fifo.cpp
FifoEscritura.cpp
FifoLectura.cpp
LockFile.cpp
Logger.cpp
MemoriaCompartida.h
Pipe.cpp
Semaforo.cpp
Serializable.cpp
SignalHandler.cpp
Utils.cpp
)

add_library(utils STATIC ${utils_LIB_SRCS})

add_dependencies(utils exceptions)

target_link_libraries(utils exceptions rt)

set_target_properties(utils PROPERTIES COMPILE_FLAGS "-fPIC")
